package top.lingkang.alkui.utils;

import javafx.scene.Node;
import javafx.stage.Stage;

/**
 * @author lingkang
 */
public class WindowUtils {

    public static Stage getStage(Node node){
        return (Stage) node.getScene().getWindow();
    }
}
